<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:th="http://www.thymeleaf.org"
	xmlns:sec="http://www.thymeleaf.org/thymeleaf-extras-springsecurity3">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>数据显示</title>
<style>
<!--
html, body, div, span, object, iframe, h1, h2, h3, h4, h5, h6, p,
	blockquote, a, code, em, img, q, small, strong, dd, dl, dt, li, ol, ul,
	fieldset, form, label, table, tbody, tr, th, td, input pre {
	padding: 0;
	margin: 0;
}

/*ul {
	width: 980px;
	height: 30px;
	margin-left: auto;
	margin-right: auto;
}

li {
	margin-top: 5px;
	list-style: none;
	font-size: 13px;
	line-height: 21px;
	float: left;
	color: #0066FF;
	width: 74px;
	height: 30px;
	padding-top: 10px;
	padding-left: 23px;
	border-right: #0066FF 1px solid;
}*/

th {
	background-color: #FFF;
	font-family: Arial, Helvetica, sans-serif;
	font-weight: normal;
}
-->
</style>

<script type="text/javascript">
	/*
	 function Page(){
	 $.ajax({
	 type : 'get',
	 url : "/propaganda/page/",
	 async : true,
	 dataType : 'json',
	 error: "重新请求",
	 data:{
	 'Page':1
	 },
	 Success:function(){},      
	 Error:function(){}
	 });
	 }
	 */
</script>

</head>

<body>
	<form th:action="@{/propaganda/searchliketitleandname/}" method="post">
		<!-- 公共头部 -->
		<div th:replace="fragments/header :: header"></div>

		<!--搜索条件-->
		<div
			style="width: 972px; height: 133px; margin-top: 10px; margin-left: auto; margin-right: auto;">
			标题：<input type="text" name="title" style="margin-right: 100px;" />
			申请人：<input type="text" name="name" style="margin-right: 100px;" /> <input
				type="submit" id="search" value="查询"
				style="width: 101px; height: 30px; color: #FFF; border: none; background-color: #09F; border-radius: 5px;" />
			<div
				style="width: 101px; float: right; text-align: center; margin-right: 80px; height: 30px; color: #FFF; border: none; background-color: #F60; border-radius: 5px;">
				<div style="margin-top: 5px;">
					<a th:href="@{/propaganda/apply}" style="text-decoration: none;"><font
						style="color: #FFF; font-size: 14px;">新建宣传</font></a>
				</div>
			</div>

		</div>

		<!--数据表头-->
		<div style="width: 972px; margin-left: auto; margin-right: auto;">
			<table border="0" cellspacing="1" bgcolor="#999999">
				<tr>
					<!--<th style="width:72px; height:30px;"></th>-->
					<th style="width: 94px; height: 30px;">No.</th>
					<th style="width: 324px; height: 30px;">标题</th>
					<th style="width: 116px; height: 30px;">类别</th>
					<th style="width: 112px; height: 30px;">申请人</th>
					<th style="width: 145px; height: 30px;">申请时间</th>

				</tr>
			</table>
		</div>

		<!--数据显示-->
		<div
			style="width: 972px; height: 90px; margin-left: auto; margin-right: auto;">
			<table id="showdata" border="0" cellspacing="1" bgcolor="#999999">
				<tr th:each="Propaganda,PropagandaStat : ${PropagandaList}">
					<!-- <th style="width:72px; height:30px;"><input type="checkbox"/></th>-->
					<th th:text="${Propaganda.propagandaid}"
						style="width: 94px; height: 30px;"></th>
					<th th:text="${Propaganda.title}"
						style="width: 324px; height: 30px;"></th>
					<th th:text="${Propaganda.department}"
						style="width: 116px; height: 30px;"></th>
					<th th:text="${Propaganda.category}"
						style="width: 112px; height: 30px;"></th>
					<th th:text="${Propaganda.content}"
						style="width: 145px; height: 30px;"></th>

				</tr>

			</table>
		</div>

		<div
			style="width: auto; margin-left: auto; margin-right: auto; text-align: center; margin-top: 200px;">
			<a style="text-decoration: none;" th:each="Page,PageStat : ${Page}"
				th:href="${Page[0]}"><input th:value="${Page[1]}"
				th:name="${Page[0]}" type="button"
				style="width: 68px; height: 40px; margin-right: 10px; color: #FFF; border: none; background-color: #999; border-radius: 5px;" />
			</a>


		</div>
	</form>
</body>

</html>
